<?php
namespace app;

// 应用请求对象类
class Request extends \think\Request
{
    private $arr_params = [];

    public function setBaseParams($key,$arr_params)
    {
        $this->arr_params[$key] = $arr_params;
        return true;
    }

    public function getBaseParams($key)
    {
        return isset($this->arr_params[$key]) ? $this->arr_params[$key] : [];
    }
}
